// eslint-disable-next-line prettier/prettier
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as filters from './filters' // global filters
import i18n from './locales/index'
import 'normalize.css'
import './plugins/element' // 按需导入element-ui
import '@/styles/index.scss'
// 过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
console.log('-------', i18n)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
